package com.hdj.chapter6.demo3;

/**
 * @description 对象的适配器
 * @auther hdj
 * @date 2017/12/13.
 */
public class AdapterTest {

    public static void main(String[] args) {
        Targetable targe1 = new Source1Wrapper();
        Targetable targe2 = new Source2Wrapper();
        targe1.method1();
        targe2.method2();
    }
}
